package com.punch.system.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.punch.common.model.SuperEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * SysDict-数据字典表
 *
 * @author wujj
 * @version 1.0.0
 * @since 2020/6/3 20:02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_dict")
public class SysDict extends SuperEntity<SysDict> {

    private static final long serialVersionUID = 1L;

    /**
     * 字典keyid
     */
    @TableField("key_id")
    private Long keyId;

    /**
     * 字典key
     */
    @TableField("dict_key")
    private String dictKey;

    /**
     * 字典名称
     */
    @TableField("dict_name")
    private String dictName;

    /**
     * 字典值
     */
    @TableField("dict_value")
    private String dictValue;


    /**
     * 排序
     */
    @TableField("sort_by")
    private Integer sortBy;


}
